import dayjs from 'dayjs';

export const normalDate = (value) => {
    return dayjs(value).format('YYYY/MM/DD')
};

export const hms = (value) => {
    return dayjs(value).format('hh:mm:ss')
};

export const formatNumber = (value) => {
    return value.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',');
}
